// 2010-03-17 - M. Caputo

#ifndef OFFSCENE_H
#define OFFSCENE_H

#include <QColor>
#include <QVector>

#include "IScene.h"
#include "CPolygon.h"

class OffScene : public IScene
{

public:
	OffScene(const QString & fileName);
	
	int polygonsCount();
	const CPolygon & polygon(int i);

private:
	void parseFile(const QString & fileName);
	QColor* readcolor(QString str, int i, int j);

	QVector<CPolygon> polygons;
};

#endif
